<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
	<script language="JavaScript" src="validation-framework.js"></script>
		<base href="<%=basePath%>">
		<title>input</title>
		<s:head />
	</head>
	<body>
		<div id="error" style="font-weight: bold;"></div>
		<s:form action="pointConverter" id="inputform" name="inputform" method="post"
			onsubmit="return doValidate('inputform')">
		<s:textfield name="username" label="姓名"></s:textfield>
		<s:textfield name="age" label="年龄"></s:textfield>
		<s:textfield name="date" label="生日"/>
		<s:textfield name="point" label="点1"></s:textfield>
		<s:textfield name="point" label="点2"></s:textfield>
		<s:textfield name="point" label="点3"></s:textfield>
		<s:submit label="提交"/>
		<font color="red">请使用","把点的横纵坐标分隔开</font>
		</s:form>
	</body>
</html>